align

fun align(horizontalAlignment: Float): SuppliedTextWidget

Aligns the widget text to the alignment fraction provided

Return

SuppliedTextWidget this widget

Author

fzzyhmstrs

Since

0.3.1

Parameters

horizontalAlignment

Float - fraction between 0f and 1f specifying the horizontal alignment. 0f = fully left-aligned, 1f = fully right-aligned